Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore unsupported pragmas #737

Merged

Conversation

k0ekk0ek
Copy link
Contributor

Like the title. Includes fix in #735 by @clalancette to speedup the process. Happy to rebase after his change has been merged, or alternatively, if he's OK with it we can just merge all of this PR.

Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
@clalancette
Copy link
Contributor

Like the title. Includes fix in #735 by @clalancette to speedup the process. Happy to rebase after his change has been merged, or alternatively, if he's OK with it we can just merge all of this PR.

I honestly don't mind either way. It's a one-line fix :).

@clalancette
Copy link
Contributor

It would be nice to add a test for this situation. The current error from https://build.ros2.org/view/Rci/job/Rci__nightly-performance_ubuntu_focal_amd64/249/console looks like:

RadarTrack_.idl:19:9: Unsupported #pragma directive DCPS_DATA_TYPE

And that particular line is here: https://github.com/ros2/performance_test/blob/57791ae74169a7eca61f72541a35cf824a8e3b09/performance_test/src/idlgen/RadarTrack_.idl#L19 . So adding a test that looks like that would ensure this keeps working.

@clalancette
Copy link
Contributor

Can we please have some movement on this? It's been causing yellow CI and failed tests in ros2 for over a week now. I'd really like this to make the 0.8.x release, otherwise we'll have to do an additional patch for it.

Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
@k0ekk0ek
Copy link
Contributor Author

k0ekk0ek commented Apr 6, 2021

I've added a test to ensure unsupported pragmas are ignored. Tests are running. I'll merge once the checks have passed.

@k0ekk0ek
Copy link
Contributor Author

k0ekk0ek commented Apr 6, 2021

For some reason Azure Pipeline builds don't show up in the checks, but they passed.

@k0ekk0ek k0ekk0ek merged commit e90219d into eclipse-cyclonedds:master Apr 6, 2021
@clalancette
Copy link
Contributor

I've added a test to ensure unsupported pragmas are ignored. Tests are running. I'll merge once the checks have passed.

Fantastic, thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants